CC = g++
CFLAGS = 
SRC = $(wildcard *.cpp)
OBJS = $(SRC:.cpp=.o)
TARGET = network.a

all: $(TARGET)
	
%.o: %.cpp
	$(CC) -c $(CFLAGS) $< -o $@

$(TARGET): $(OBJS)
	ar r $(TARGET) $^
	cp $(TARGET) ../../lib/
clean:
	rm $(OBJS) $(TARGET)
